//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Common Core Extensions
//===============================================================================

using System;
using System.ComponentModel;

namespace EntLibContrib.Common.Configuration.Design
{
	/// <summary>
	/// Xml file resource name type to hold the two string components that make up an Xml file resource name
	/// </summary>
	/// <remarks>An Xml file resource name is the combination of a path name and a resource base name.</remarks>
	[TypeConverter(typeof(XmlResourceNameConverter))]
	public class XmlResourceName : FileResourceName
	{
		#region Construction
		/// <summary>
		/// Initializes a new instance of the <see cref="XmlResourceName"/> class.
		/// </summary>
		public XmlResourceName()
			: this(String.Empty, String.Empty)
		{
		}

		/// <summary>
		/// Initializes a new instance of the <see cref="XmlResourceName"/> class.
		/// </summary>
		/// <param name="pathName">the file resource path.</param>
		/// <param name="baseName">the resource base name.</param>
		public XmlResourceName(string pathName, string baseName)
			: base(pathName, baseName)
		{
		}
		#endregion
	}
}
